﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.AddIn;
using System.AddIn.Contract;
using System.AddIn.Hosting;
using System.AddIn.Pipeline;
using HostView;
using Contracts;

namespace HostAdapters
{
    [HostAdapter]
    public class _HostAdapters: _HostView
    {
        private _IContract _contract;
        private ContractHandle _handle;
        public _HostAdapters(_IContract contract)
        {
            _contract = contract;
            _handle = new ContractHandle(contract);
        }
        public override object calculate(int a, int b)
        {
            return _contract.calculate(a, b);
        }
    }
}
